package com.qf.week1.day02;

import java.util.Scanner;

public class IfDemo {
    public static void main(String[] args) {
        System.out.println("请输入你的成绩");
        Scanner sc = new Scanner(System.in);
        double score = sc.nextDouble();
        if(score<15){
            System.out.println("请输入你的性别");
            String sex = sc.next();
            if(sex.equals("男")){
                System.out.println("进入男子总决赛");
            }else{
                System.out.println("进入女子总决赛");
            }
        }else{
            System.out.println("您的成绩有点菜了，淘汰了呢");
        }

    }
}
